package io.renren.modules.hospital.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.app.form.LoginForm;
import io.renren.modules.hospital.entity.YsEntity;

import java.util.Map;

/**
 *
 *
 * @author starry
 * @email 2495646304@qq.com
 * @date 2023-11-15 15:54:22
 */
public interface YsService extends IService<YsEntity> {

    PageUtils queryPage(Map<String, Object> params);

    YsEntity queryByMobile(String mobile);

    /**
     * 用户登录
     * @param form    登录表单
     * @return        返回用户ID
     */
    long login(LoginForm form);
}

